text view: Improve cursor hiding logic
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2015 17:52:09 +0000 (13:52 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Sep 2015 18:00:27 +0000 (14:00 -0400)
commit1dc4eea096a48b4137a89fc56ba65ca19d6e481f
tree721560ac51f96832e3d7226711644c8558344012
parent587afb5b1c51f68eb49b630f0addbaf1d569f23e
text view: Improve cursor hiding logic

Same as we did for the entry in the previous commit.

Previously, we just hid the cursor if a key event was adding text,
but not when you used backspace, or Ctrl-V. Rearrange things so that
we obscure the cursor whenever the buffer contents change while we
are handling key events.

https://bugzilla.gnome.org/show_bug.cgi?id=754535
gtk/gtktextview.c